import request from '@/utils/request';

export default {
    login(username, password) {
        return request.post('/api/auth/login', { username, password });
    },
    register(userData) {
        return request.post('/api/auth/register', userData);
    }
};
